#! /usr/bin/env python
# -*- coding: utf-8 -*-

import base

from web import models

existed = models.PricePolicy.objects.filter(category=1, title='个人免费版').exists()

if not existed:
    models.PricePolicy.objects.create(
        category=1,
        title='个人免费版',
        price=0,
        project_num=3,
        project_member=2,
        project_space=20,
        per_file_size=5
    )